class CreateFrequentAsks < ActiveRecord::Migration[6.1]
  def change
    create_table :frequent_asks do |t|
      t.string :title
      t.string :content
      t.integer :admin_user_id
      t.integer :company_id

      t.timestamps
    end
    add_index :frequent_asks, :admin_user_id
    add_index :frequent_asks, :company_id
  end
end
